//
//  WJTab2Controller.m
//  JerryIos
//
//  Created by jerrywang on 2018/2/5.
//  Copyright © 2018年 王军. All rights reserved.
//

#import "WJTab2Controller.h"

@interface WJTab2Controller ()

@end

@implementation WJTab2Controller

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //设置背景色
    self.view.backgroundColor = WJColor(206, 206, 206);
    
    //设置导航条
    [self setupNavBar];
}

-(void)setupNavBar {
    //左边的按钮
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem
                                             itemWithImage:[UIImage imageNamed:@"icon_tag_sub_normal"]
                                             highImage:[UIImage imageNamed:@"icon_tag_sub_selected"]
                                             target:self
                                             action:@selector(tagSub)];
    
    //中间的标题
    self.navigationItem.title = @"新帖";
}

-(void)tagSub {
    WJLog(@"tagSub click");
}

@end
